import { defineConfig } from "wxt";

// See https://wxt.dev/api/config.html
export default defineConfig({
  srcDir: "src",
  runner: {
    startUrls: [
      "https://mall.jd.com/view_search-4805658-17592564-16065522-0-0-0-0-1-1-60.html",
    ],
  },
  modules: ["@wxt-dev/module-svelte"],
  manifest: {
    permissions: ["https://*/*", "http://*/*"],
  },
  imports: {
    // 添加 jQuery 到自动导入列表
    imports: [
      { name: "$", from: "jquery" },
      { name: "jQuery", from: "jquery" },
    ],
  },
});
